#coding:utf-8

####################################################################
##  一，脚本语法说明：
##  [类型字段, 命令字段, 匹配结果字段, 超时时间字段, 错误等级字段]
##  1，类型字段：
##        0：AT命令
##        1：延迟
##        2：数据
##		  3：命令嵌套
##	2，命令字段：
##		1）AT命令
##		[0, 'AT命令字符串', '匹配结果', 超时时间（单位s）, 错误等级字段]
##		2）延迟命令
##		[1, 延迟时间（单位ms）, '', '', '']
##		3）发送数据
##		[2, '数据内容', '匹配结果', 超时时间(单位s), 错误等级字段]
##		4）命令嵌套
##		[2, 命令列表名称, '', '', 错误等级字段]
##	3，匹配结果字段：
##		1）单行字符串('string')：按照字符串查找方式，匹配AT返回中的某一行，如果匹配成功就认为命令执行成功
##		2) 单行正则表达式(Reg('reg')): 按照正则表达式匹配方式，匹配AT返回中某一行，如果匹配成功就认为命令执行成功
##		3）多行字符串(FullMatch('string_line1\r\nstring_line2')): 按照字符串查找方式，匹配AT返回中的多行，如果匹配成功就认为命令执行成功
##		4）多行正则表达式(ReMatch('reg1[\s\S]+reg2')): 按照正则表达式匹配方式，匹配AT返回的多行，如果匹配成功就认为命令执行成功
##	4，超时时间字段：
##		如果执行【命令字段】后没有匹配到【匹配结果字段】，就会等待超时，超时时间单位为s
##	5，错误等级字段
##		0：忽略该条命令匹配错误继续执行下一行
##		1：如果该条命令匹配错误就停止执行
####################################################################
fs = [
	[0,'AT+FSCREATE=client.key', 'OK', 5, 1],
	[0,'AT+FSWRITE=client.key,0,887,20', FullMatch('>'), 5, 1],
	[2,'-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDdO6baSCvTaAfNCXCsxjEADZ6pmxMTqhpYjAquul4c9M8a8Z7X\nltUtGNUkWLuZhdYimqHOcErqQiAtJ1QYlikPN2Czw9Tj9zy6yTdGa/XWTBGmzfVu\ntxqpD94xMT0/ylmLPBjTa+RJYOCT0DrbJLY9q/zUT8NZL92wm8Tv2fr63wIDAQAB\nAoGAHoh+FcBCNDI2aWj1IRNVbfFzRWs+rccbTb8+N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lzIGNl\r\ncnRpZmljYXRlIGlzIHN0cmljdGx5IHN1YmplY3RlZCB0byB0aGUgQ0VSVFVNIENl\r\ncnRpZmljYXRpb24gUHJhY3RpY2UgU3RhdGVtZW50IChDUFMpIGluY29ycG9yYXRl\r\nZCBieSByZWZlcmVuY2UgaGVyZWluIGFuZCBpbiB0aGUgcmVwb3NpdG9yeSBhdCBo\r\ndHRwczovL3d3dy5jZXJ0dW0ucGwvcmVwb3NpdG9yeS4wHQYDVR0lBBYwFAYIKwYB\r\nBQUHAwEGCCsGAQUFBwMCMGkGA1UdEQRiMGCCCnd3dy5zby5jb22CCGkuc28uY29t\r\ngg53d3cuaGFvc291LmNvbYIMaS5oYW9zb3UuY29tggZzby5jb22CDG0uaGFvc291\r\nLmNvbYIIbS5zby5jb22CCmhhb3NvdS5jb20wDQYJKoZIhvcNAQELBQADggEBAJd3\r\nil14120xmaAXZvvADb0cjDExrp0BiLTQ3jeenKOdpMZ0zdttIakp/ohS1CzWGw0B\r\nnWtDdWK7r7FzeQaVNuVN9w5YNB4Pp6NVp9LO74KrW4i22ac9valVmPPBJ6lDxAGo\r\nnNSpF9KChGNyrEcUWbQX9RsY/fUl2vOEbo0ql39b2o+XjYtB1Y0ypJLJ2hZHwgTZ\r\nn7EPp8mT7hSMBoYqMtARhfg4d2j+R0G2L8uJiNZU0ublC+BwFUM46pJI48CaCdMg\r\nuJEV+TLOLCTk4weZ/BTRpfSVovayqchcva8PqAzbSl7UZhkATqwVSfarV4ygzLUI\r\n1pqPNyT2r2r5u8c+S/E=\r\n-----END CERTIFICATE-----\r\n', 'OK', 5, 1],
	[0,'AT+FSCREATE=360-2.crt','OK', 5, 1],
	[0,'AT+FSWRITE=360-2.crt,0,1720,20', FullMatch('>'), 5, 1],
	[2,'-----BEGIN CERTIFICATE-----\r\nMIIEtTCCA52gAwIBAgIRAO8FGnQaHZQJ/KXkZA+NPJswDQYJKoZIhvcNAQELBQAw\r\nfjELMAkGA1UEBhMCUEwxIjAgBgN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